<?php

namespace app\admin\controller;

use think\Controller;
use app\index\controller\Project;

class Plan extends Controller
{
//    自动打卡
    public function auto(){
       $user =  db('user')->where('auto_card',1)->select();
        foreach ($user as $k=>$v){
            $project = new Project();
            $project->sign_in($v['id']);
        }
    }
}
